#ifndef _SYS_VTABLE_H_
#define _SYS_VTABLE_H_

#include <stdint.h>
#include "SysTypes.h"


/**
 * The minimum virtual-table of a class. It contains:
 *    - the instance-offset, to retrieve the instance's address when an instance is referenced as a mixin
 *    - the type of the instance
 */
struct VTable
{
  intptr_t      instanceOffset;
  Type*         instanceType;
};


#endif
